#!/bin/bash
if(test -L $0) then auxlink=`ls -l $0 | sed 's/^[^>]*-> //g'`; M_HOME=`dirname $auxlink`/; else M_HOME=`dirname $0`/; fi; cd $M_HOME
./gmp* || exit 1
./openssl* || exit 1
. ../before || exit 1
sb2 ./configure --prefix=/usr
patch -p1 < ../../`basename $0`.patch
sb2 make
sb2 make DESTDIR=$ROOTFS/ install
touch $ROOTFS/.`basename $0`
